﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class Message : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if(Request.QueryString["action"] == EClass.EAction.Purchase.ToString())
            _multiView.ActiveViewIndex = 0;
        if (Request.QueryString["action"] == EClass.EAction.Register.ToString())
            _multiView.ActiveViewIndex = 1;
        if (Request.QueryString["action"] == EClass.EAction.ForgotPassword.ToString())
            _multiView.ActiveViewIndex = 2;
        if (Request.QueryString["action"] == EClass.EAction.PasswordChange.ToString())
            _multiView.ActiveViewIndex = 3;
        if (Request.QueryString["action"] == EClass.EAction.EditProfile.ToString())
            _multiView.ActiveViewIndex = 4;
    }
}
